﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SreachMovie.aspx.cs" Inherits="XMLMovieWebsite.SreachMovie" %>
<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="col-sm-9 padding-right">
					<div class="features_items"><!--features_items-->
						<h2 class="title text-center">KẾT QUẢ TÌM KIẾM</h2>
                        
						<asp:DataList ID="Test" runat="server"  RepeatDirection="Horizontal" 
                            RepeatColumns="2" Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                            Font-Strikeout="False" Font-Underline="False" RepeatLayout="Flow" 
                             > 
                    <ItemTemplate>
                    <div class="col-sm-4" >
							<div class="product-image-wrapper">
								<div class="single-products">
										<div class="productinfo text-center">
                                            <a href="#"><img src="<%#Eval("image")%>" alt=""   /></a>
											<h2><%#Eval("Ten")%></h2>											
										</div>
										<div class="product-overlay">
											<div class="overlay-content">
                                            	<h2><%#Eval("Ten")%></h2>
                                                <p><%#Eval("Mota")%><br><br>
<b>Năm phát hành: </b><%#Eval("NamPH")%><br>
<b>Thời lượng: </b><%#Eval("ThoiLuong")%><br>
<b>IMDB: </b><%#Eval("IMDB")%><br>
<b>Đánh giá phim: </b><%#Eval("DanhGia")%><br>
<b>Đạo diễn: </b><%#Eval("DaoDien")%><br>
<b>Diễn viên: </b><%#Eval("DienVien")%><br>
<b>Quốc gia: </b><%#Eval("QuocGia")%><br>
<b>Thể loại: </b><%#Eval("Theloai")%><br>
<b>Tag: </b><%#Eval("Tag")%><br>
                                                </p>
                                                <a href="FilmDetail.aspx?id=<%#Eval("id")%>" class="btn btn-default add-to-cart"><i class=" fa fa-heart"></i>Xem Ngay</a>
											</div>
										</div>
								</div>
							</div>
						</div>

                        </ItemTemplate>
                        </asp:DataList>
					</div><!--features_items-->			
  
 
					                                    <cc1:CollectionPager ID="Paging" 
                                        FirstText="Đầu"
                                        BackText="« Trước &amp;nbsp;"
                                        LabelText=""
                                        LastText="Cuối"
                                        NextText="&amp;nbsp; Sau  »"
                                        ShowFirstLast="True"
                                        SliderSize="5" PagingMode="PostBack"
                                        runat="server" BackNextLinkSeparator="" BackNextLocation="Split"
                                        PageNumbersDisplay="Numbers" ResultsLocation="None"
                                        BackNextDisplay="HyperLinks"  >
                                    </cc1:CollectionPager>
				</div>
</asp:Content>
